/*
 * Powered By [dwz4j-framework]
 * Web Site: http://j-ui.com
 * Google Code: http://code.google.com/p/dwz4j/
 * Generated 2012-07-29 17:54:23 by code generator
 */
package com.kingcore.commerce.admin.bean;

import java.util.HashSet;
import java.util.Set;

import com.kingcore.commerce.base.bean.CommerceBean;

public class BookBean extends CommerceBean {

	private Long id;
	private String sn;
	private String nameCn;
	private String nameEn;
	private String publish;
	private java.util.Date publishDate;
	private java.util.Date insertDate;
	private java.util.Date updateDate;
	
	
	private static final long serialVersionUID = 1L;
	private BookVO resBook;

	/* generateConstructor */
	public BookBean() {
		this.resBook = new BookVO();
	}

	public BookBean(BookVO resBook) {
		this.resBook = resBook;
	}

	public BookVO getBook() {
		return this.resBook;
	}

	
//	public Integer getId() {
//		return this.resBook.getId();
//	}
//	public void setId(Integer id) {
//		this.resBook.setId(id);
//	}
//
//	public String getSn() {
//		return this.resBook.getSn();
//	}
//
//	public void setSn(String sn) {
//		this.resBook.setSn(sn);
//	}
//
//	public String getNameCn() {
//		return this.resBook.getNameCn();
//	}
//
//	public void setNameCn(String nameCn) {
//		this.resBook.setNameCn(nameCn);
//	}
//
//	public String getNameEn() {
//		return this.resBook.getNameEn();
//	}
//
//	public void setNameEn(String nameEn) {
//		this.resBook.setNameEn(nameEn);
//	}
//
//	public String getPublish() {
//		return this.resBook.getPublish();
//	}
//
//	public void setPublish(String publish) {
//		this.resBook.setPublish(publish);
//	}
//
//	public Date getPublishDate() {
//		return this.resBook.getPublishDate();
//	}
//
//	public void setPublishDate(Date publishDate) {
//		this.resBook.setPublishDate(publishDate);
//	}
//
//	public Date getInsertDate() {
//		return this.resBook.getInsertDate();
//	}
//
//	public void setInsertDate(Date insertDate) {
//		this.resBook.setInsertDate(insertDate);
//	}
//
//	public Date getUpdateDate() {
//		return this.resBook.getUpdateDate();
//	}
//
//	public void setUpdateDate(Date updateDate) {
//		this.resBook.setUpdateDate(updateDate);
//	}

	private Set resChapters = new HashSet(0);

	public void setChapters(Set resChapter) {
		this.resChapters = resChapter;
	}

	public Set getChapters() {
		return resChapters;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getNameCn() {
		return nameCn;
	}

	public void setNameCn(String nameCn) {
		this.nameCn = nameCn;
	}

	public String getNameEn() {
		return nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public String getPublish() {
		return publish;
	}

	public void setPublish(String publish) {
		this.publish = publish;
	}

	public java.util.Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(java.util.Date publishDate) {
		this.publishDate = publishDate;
	}

	public java.util.Date getInsertDate() {
		return insertDate;
	}

	public void setInsertDate(java.util.Date insertDate) {
		this.insertDate = insertDate;
	}

	public java.util.Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(java.util.Date updateDate) {
		this.updateDate = updateDate;
	}

	public BookVO getResBook() {
		return resBook;
	}

	public void setResBook(BookVO resBook) {
		this.resBook = resBook;
	}

	public Set getResChapters() {
		return resChapters;
	}

	public void setResChapters(Set resChapters) {
		this.resChapters = resChapters;
	}
	
	

}
